(function () {
    'use strict';

    var PropsInputBase = laya.ide.props.PropsInputBase;
    var ui;
    (function (ui) {
        class propUI2UI extends PropsInputBase {
            constructor() { super(); }
            createChildren() {
                super.createChildren();
                this.createView(ui.propUI2UI.uiView);
            }
        }
        propUI2UI.uiView = { "type": "PropsInputBase", "props": { "width": 240, "top": 0, "right": 0, "left": 0, "height": 150, "centerY": 0, "centerX": 0, "bottom": 0 }, "child": [{ "type": "Button", "props": { "y": 26, "x": 13, "width": 40, "skin": "comp/btn.png", "height": 40, "labelColors": "#efefef,#ffffff,#c5c5c5,#c5c5c5", "sizeGrid": "0,4,0,4" } }, { "type": "Button", "props": { "y": 26, "x": 62, "width": 40, "skin": "comp/btn.png", "height": 40, "labelColors": "#efefef,#ffffff,#c5c5c5,#c5c5c5", "sizeGrid": "0,4,0,4" } }, { "type": "Button", "props": { "y": 26, "x": 111, "width": 40, "skin": "comp/btn.png", "height": 40, "labelColors": "#efefef,#ffffff,#c5c5c5,#c5c5c5", "sizeGrid": "0,4,0,4" } }, { "type": "Button", "props": { "y": 75, "x": 13, "width": 40, "skin": "comp/btn.png", "height": 40, "labelColors": "#efefef,#ffffff,#c5c5c5,#c5c5c5", "sizeGrid": "0,4,0,4" } }, { "type": "Button", "props": { "y": 75, "x": 62, "width": 40, "skin": "comp/btn.png", "height": 40, "labelColors": "#efefef,#ffffff,#c5c5c5,#c5c5c5", "sizeGrid": "0,4,0,4" } }, { "type": "Button", "props": { "y": 75, "x": 111, "width": 40, "skin": "comp/btn.png", "height": 40, "labelColors": "#efefef,#ffffff,#c5c5c5,#c5c5c5", "sizeGrid": "0,4,0,4" } }] };
        ui.propUI2UI = propUI2UI;
    })(ui || (ui = {}));

    class MyCustomUI extends ui.propUI2UI {
        constructor() {
            super();
            this.isFixHeight = false;
            this.height = 150;
            debugger;
        }
        /**
         * 设置编辑对象
         * @param target
         *
         */
        setTarget(target) {
            debugger;
        }
        /**
         * 通知属性变更
         * @param key 属性key
         * @param value 值
         * @param isChanging 是否是变化中
         * @param type 值类型
         * @param refreshComp 是否刷新对象
         *
         */
        valueChange(key, value, isChanging, type, refreshComp) {
        }
    }
    laya.ide.props.PropsInputBase.regPlugin('MyCustomUI', MyCustomUI);

}());
